const {mongoose}=require('./database.js')

const Aidata = new mongoose.Schema({
    title:String,
    jianyi:String,
    createtime:{
        type:Date,
        default:Date.now
    }
})

const Aidatamodel=mongoose.model('Aidata',Aidata,'Aidata')

const UserData = new mongoose.Schema({
    
})

const UserDataModel = mongoose.model('UserData', UserData, 'UserData')

module.exports={Aidatamodel,UserDataModel}